﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Office = Microsoft.Office.Core;
using SharePointListSync.Actions.Controls;

namespace SharePointListSync.Actions
{
    public partial class ACBody : UserControl
    {
        public ACconnMgr mACconnMgr;
        public ACListSelectors mACListSelector;
        public ACListSync mACListSync;

        public ACBody()
        {
            InitializeComponent();
            SetUpControls();
           
        }

        private void SetUpControls()
        {
            mACconnMgr = new ACconnMgr();
            mACListSelector = new ACListSelectors();
            mACListSync = new ACListSync();

            this.Controls.Add(mACconnMgr);
            this.Controls.Add(mACListSelector);
            this.Controls.Add(mACListSync);
            this.VScroll = true;
            
        }

        private void vScrollBar1_Scroll(object sender, ScrollEventArgs e)
        {
            this.VerticalScroll.Value = e.NewValue; 
            //e.NewValue = e.OldValue + 10;
        }


    }
}
